home *** CD-ROM | disk | FTP | other *** search
/ Maximum CD 1998 November / maximum-cd-1998-11.iso / Truespace 4 / Data / PROGRAM / Scripts / wfmmreadme.txt < prev    next >
Encoding:
Text File  |  1998-08-31  |  2.9 KB  |  57 lines

  1. wfmm contributions readme info file
  2. -----------------------------------
  3.  
  4. windmill fraser multimedia, inc. has contributed several useful and fun things
  5. to the release of trueSpace4.  Be sure to check out our website for information
  6. about all our trueSpace products, including the coolpowers series of plugins:
  7.  
  8. http://www.wfmm.com/
  9.  
  10. Thanks, and enjoy!
  11.  
  12. Simon Windmill,
  13. President and CEO
  14.  
  15.  
  16.  
  17. Python scripts
  18. --------------
  19.  
  20. I like Python, and wanted to show how easy it is to make something useful with
  21. it in tS.  I encourage you to look at each script, make some modifications, see
  22. what happens.  Even if you've never done any programming before, you should be
  23. able to create something yourself pretty quickly.
  24.  
  25. eyeblink.scn - load this scene, and press the Play Scripts button.  The little
  26.                guy should start blinking merrily.  Press the Stop Scripts button
  27.                when you get tired of it all.  If you only wanted him to blink
  28.                while playing or rendering an animation, you could modify the
  29.                def ontimechanged(): to def onframechanged():
  30.  
  31. groundlock.py - this is a very simple script, it just makes sure an object doesn't
  32.                 go below a certain level (if this level is the same as the tS4
  33.                 grid, it would probably make more sense to use tS4's collision
  34.                 detection rather than this script).  As an example, create a
  35.                 cube, open the script manager, and open this script.  Press
  36.                 Play Scripts.  Now move the cube below the ground level, and
  37.                 when you let go of the mouse button, the object will pop back
  38.                 up again.
  39.  
  40. autosave.py - a scene script to automatically save backups of the scene you're 
  41.               working on.  Open the script manager, and select Scene.  Load this
  42.               script.  You'll need to edit two variables: Change TimeDelay to
  43.               the number of minutes you want between each save.  Change the
  44.               BaseSceneName variable to the filename you want for your backups
  45.               e.g. if you want to save backups to c:\temp\ and you want them
  46.               to be called coolbackup?.scn (with ? being a number), then set this
  47.               variable to 'c:\\temp\\coolbackup'.
  48.               Hit Play Scripts and your scene will be automagically backed up
  49.               while you work.
  50.  
  51. constupdate.py - this is a simple one, but it aids the use of the tS Lookat
  52.                  tool.  Attach this script to an object (source) that is looking at
  53.                  another object (target).  Now press Play Scripts.  Whenever you
  54.                  release the mouse button after moving the target object, the
  55.                  source will update its position.  This lets you see how Lookat
  56.                  affects tracking interactively, instead of waiting until render
  57.                  or playback time.